import { ApiProperty } from "@nestjs/swagger";

export class CreateProductDto {
  @ApiProperty({
    description: '标题',
    default: '测试产品'
  })
  title: string

  @ApiProperty({
    description: '图片',
    default: 'https://wwww.hongka.top/2.mp4'
  })
  img: string

  @ApiProperty({
    description: '零售价',
    default: 199
  })
  salePrice: number

  @ApiProperty({
    description: '分销价',
    default: 179
  })
  price: number
}
